package com.bzframework.pro.authorize.constants;

/**
 * @Author bingzhong
 * @Date 2024/11/26 11:24
 * @Description
 */
public interface RedisConstants {

    /**
     * 用户登录信息
     */
    String USER_TOKEN = "user_token:";

    /**
     * 同一账号登录的 token 数
     */
    String USER_TOKENS = "user_tokens:";

    /**
     * 验证码
     */
    String CAPTCHA_LOGIN = "captcha:login:";


    static String getRedisKey(String key, String value) {
        return key + value;
    }

}
